#ifndef Pub_pop_delay_H
#define Pub_pop_delay_H

#include <QDialog>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <QTimer>
#include <QCloseEvent>

namespace Ui {
class Pub_pop_delay;
}

class Pub_pop_delay : public QDialog
{
    Q_OBJECT

public:
    explicit Pub_pop_delay(QWidget *parent = nullptr);
    ~Pub_pop_delay();

protected:
    void closeEvent(QCloseEvent *event);

signals:
//    void retStr(QString );

public slots:
    void closeWindow();
    void setText(QString);
    void setNeedClose(bool);

private slots:

void tmot();

private:
    Ui::Pub_pop_delay *ui;

    QTimer tm;

    QString columnsWidth;
    QString retValue;
    bool needClose;
};

#endif // Pub_pop_delayH
